/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tv.global.rn;

import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import tv.global.dao.SitioDAO;
import tv.global.modelo.Sitio;

/**
 *
 * @author ctrosch
 */
@Stateless
public class SitiosRN {
    @EJB
    private SitioDAO sitioDAO;

    public Sitio getSitio(String codigo){
        return sitioDAO.getSitio(codigo);
    }

    public List<Sitio> getLista(){
        return sitioDAO.getLista();
    }

    

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
